//
//  FunctionViewController.m
//  PPScaleDemo
//
//  Created by 彭思远 on 2021/3/10.
//

#import "FunctionViewController.h"
#import "BindingEquipmentViewController.h"
#import "BluetoothWeighingViewController.h"
#import "WiFiScaleDataListViewController.h"
#import "EquipmentListViewController.h"
#import "UserInformationEditingViewController.h"

@interface FunctionViewController ()

@end

@implementation FunctionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"Function demonstration";
}

+ (instancetype)instance{
    return [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"FunctionViewController"];
}


- (IBAction)bindDeviceBtnClick:(id)sender {
    BindingEquipmentViewController *vc = [BindingEquipmentViewController instance];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)scaleWeithWithBluetoothBtnClick:(id)sender {
    BluetoothWeighingViewController *vc = [BluetoothWeighingViewController instance];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)deviceListBtnClick:(id)sender {
    EquipmentListViewController *vc = [EquipmentListViewController instance];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)remoteDataListBtnClick:(id)sender {
    WiFiScaleDataListViewController *vc = [WiFiScaleDataListViewController instance];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)userInfoEditBtnClick:(id)sender {
    UserInformationEditingViewController *vc = [UserInformationEditingViewController instance];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
